package com.sjgame.model.service.impl;


import com.sjgame.base.dao.support.IBaseDao;
import com.sjgame.base.service.support.impl.BaseServiceImpl;
import com.sjgame.model.dao.AgentUserDao;
import com.sjgame.model.dao.LogDao;
import com.sjgame.model.entity.AgentUser;
import com.sjgame.model.entity.Log;
import com.sjgame.model.service.AgentUserService;
import com.sjgame.model.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * <p>
 * 日志服务实现类
 * </p>
 *
 * @author zcl
 */
@Service
public class AgentUserServiceImpl extends BaseServiceImpl<AgentUser,Integer> implements AgentUserService {

    @Autowired
    private AgentUserDao agentUserDao;


    @Override
    public IBaseDao<AgentUser, Integer> getBaseDao() {
        return this.agentUserDao;
    }


    @Override
    public AgentUser findByPhone(String phone) {
        return this.agentUserDao.findByPhone( phone);
    }
}
